Now that the workspace switcher moved into the view selector, the
box only holds a single child. Cut out the middle man and add that
directly to the parent.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1609>
});
this.add_actor(this._group);
- const box = new St.BoxLayout({
- x_expand: true,
- y_expand: true,
- });
- box.add_child(this.viewSelector);
-
- this._group.add_child(box);
+ this._group.add_child(this.viewSelector);
this._group.add_actor(this._dashFader);
this.connect('destroy', this._onDestroy.bind(this));
super._init({
name: 'viewSelector',
x_expand: true,
+ y_expand: true,
visible: false,
});